package commonClass.javaTest;


public class Printer {
	public static void main(String[] args) {
		int i, j, t, c;
		j = 1;
		t = 9;
		c = 5;
		while (c > 0) {
			for (i = 0; i <= j; i++) {
				System.out.print(" ");
			}
			j++;
			for (i = 0; i < t; i++) {
				System.out.print("*");
			}
			t -= 2;
			System.out.println();
			c--;
		}
		
		System.out.println((int)(Math.random()*100));//随机整数
	}

}
